<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/9/12
  Time: 10:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@ include file="/common/include-core.jsp" %>
    <%@ include file="/common/include-wap.jsp" %>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <title>支付成功</title>
    <link rel="stylesheet" href="/static/css/pay/wap/payResult.css">
</head>
<body>
    <div class="content">
        <h3 class="title_01">支付成功</h3>
        <img src="/static/images/pay/payResult_01.png" alt="" class="icon_01">
        <h4 class="title_02">到货时间：15-30天</h4>
        <h3 class="title_03 title_t">支付成功</h3>
        <h3 class="title_03">马上跳转页面进行选号哦~</h3>
        <h5 class="title_04">( 页面将在<span class="second_01" id="second_01">3</span>秒后进行跳转,<a href="https://mall.cqwin.com/shop-center-front/#/specialActOrderFill?userTokenCode=${userTokenCode}&qrId=0a7f91d25a77459ba1a5a5b2e3a17c57&goodsId=947381" class="jump">点击跳转</a> )</h5>
    </div>

    <script type="text/javascript">
        //设定倒数秒数
        var count = 3;
        //写一个方法，显示倒数秒数  数到0后跳转页面
        function countDown(){
            //将count显示在div中
            document.getElementById("second_01").innerHTML= count;
            //没执行一次，count减1
            count -= 1;
            //count=0时，跳转页面
            if(count==0){
                location.href="https://mall.cqwin.com/shop-center-front/#/specialActOrderFill?userTokenCode=${userTokenCode}&qrId=0a7f91d25a77459ba1a5a5b2e3a17c57&goodsId=947381";
                //window.location.href="index.html";
            }
            //每秒执行一次,showTime()
            setTimeout("countDown()",1000);
        }
        //执行countDown方法
        countDown();
    </script>

</body>
</html>
